package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.FriendBean;
import com.mz.ozy.bean.PronotionBean;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class FriendContract {
    public interface View extends BaseView {
        void getFriendSuccess(FriendBean bean);

        void getVipUpSuccess(JSONObject bean);

        void getVipUpShSuccess(FriendBean bean);

        void getVipUpDataInfoSuccess(PronotionBean bean);
    }

    public interface Presenter extends BasePresenter<View> {
        void getFriendInfo(Activity activity, String page);

        void vipUp(Context context, String certificate, String id, int type);

        void vipUpSh(Context context, int type);

        void vipUpDataSh(Context context, String id, int type);
    }


}
